package com.example.basicdemo.model.result;

import com.example.basicdemo.model.response.SaveRoleAclResponse;
import com.isyscore.os.dev.api.IsyscoreObject;
import com.isyscore.os.dev.api.IsyscoreResult;

import java.util.List;

public class SaveRoleAclResult implements IsyscoreResult<IsyscoreObject> {

    private SaveRoleAclResponse response;

    public SaveRoleAclResult(SaveRoleAclResponse response) {
        this.response = response;
    }

    public SaveRoleAclResponse getResponse() {
        return response;
    }

    public void setResponse(SaveRoleAclResponse response) {
        this.response = response;
    }

    @Override
    public boolean isSuccess() {
        return response == null ? false : response.isSuccess();
    }

    @Override
    public IsyscoreObject parseData() {
        return null;
    }

    @Override
    public List<IsyscoreObject> parseListData() {
        return null;
    }
}
